Skip to content

fix(ci): execute the runtime feature policy during deployment - #311

Merged
lweberru merged 1 commit into
mainfrom
fix/runtime-feature-policy-entrypoint
Nov 27, 2026
Merged

lweberru merged 1 commit into
mainfrom
fix/runtime-feature-policy-entrypoint

Conversation

@lweberru

Copy link
Copy Markdown
Collaborator

The embedded runtime feature policy was evaluated from stdin without a script argument. Its CLI entry condition therefore never ran, so deployment silently restored release defaults instead of preserving the current CF toggles.

Pass an explicit - to Node in both generated deployment workflows. New regressions execute the actual embedded commands with a local fake CF executable: they reproduce the no-op before this fix, verify preservation of enabled and explicitly disabled flags and protected operator project IDs, and require invalid inputs to stop deployment before staging.

All nine feature-policy tests, generator freshness, workflow-map validation and eight workflow-map unit tests pass locally. Workflow phases and gates are unchanged.

This is a workflow-only fix. It requires no new application build or product release and also applies to future deployment of the existing v2.3.1 artifact. The current authorized Prod rollout is allowed to finish before Retirement is restored through its CF toggle and a rolling restart of the same droplet.

@lweberru
lweberru merged commit 7d7def3 into main Nov 27, 2026
16 checks passed
@lweberru
lweberru deleted the fix/runtime-feature-policy-entrypoint branch November 27, 2026 10:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant